package com.pro;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 *当前类为SpringBoot项目的启动类
 * @MapperScan：扫描该包路径下的类，注册为bean
 **/
@SpringBootApplication
@MapperScan("com.pro.dao")
public class AdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class,args);
    }
}
